package org.csmz.class2333;

public class example03 {
    public static void main(String[] args){
        byte a =20;
        int b=a;
        float f =b;
        double d =f;
        System.out.println("int类型变量b:"+b);
        System.out.println("float类型变量f:"+f);
        System.out.println("double类型变量d:"+d);

        int q =514;
        byte w =(byte)q;
        System.out.println("q="+q);
        System.out.println("w="+w);


    }
}


